feat: Add Core Brain integration for central knowledge base - #24
Merged
Conversation
- Add core-brain.ts client for connecting to brain-core API (49.13.158.176:5001) - Implement Pre-Recall: Search core brain before AI response for context - Implement Writeback: Store Q&A pairs in core brain (append-only) - User mapping: Pass real userId to brain-core (auto-created if not exists) Features: - coreBrainSearch(): Search central knowledge base - coreBrainStore(): Store memories (append-only, no overwrites) - coreBrainRecent(): Get recent memories - buildCoreBrainContext(): Build context string for prompt injection 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
@sentry review |
🤖 Auto-fixed by GitHub Actions
- POST /api/auth/reset-password (admin only) - Validates password length (min 8 chars) - Logs password_reset event to audit log - Added new audit event types: password_reset, user_created, user_deleted 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
@sentry review |
🤖 Auto-fixed by GitHub Actions
- src/lib/api.ts: Complete API client with all 178 backend endpoints - Auth, Users, Agents, Tasks, Chat, Audit, Ops, Brain, Memory - Settings, Enforcement, GitHub, Linear, Webhooks, Modules, Billing - Full TypeScript types for all API responses - src/components/UsersPage.tsx: User management (CRUD) - List, create, edit, delete users - Password reset functionality - Role management (admin/user/demo) - User stats dashboard - src/components/AuditPage.tsx: Audit & Ops dashboard - Event log with filtering - Blocked tasks management (approve/reject) - Operations statistics - STOP-Score monitoring - src/components/IntegrationsPage.tsx: External integrations - GitHub repos and issues - Linear teams and issues - Webhook management (CRUD, test) - Updated App.tsx with new navigation tabs 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
@sentry review |
🤖 Auto-fixed by GitHub Actions
This was referenced Jan 1, 2026
Closed
dsactivi-2
pushed a commit
that referenced
this pull request
Jan 27, 2026
Co-authored-by: den-is9186 <257160258+den-is9186@users.noreply.github.com>
dsactivi-2
pushed a commit
that referenced
this pull request
Mar 2, 2026
Fix base branch test failures blocking PR #24
dsactivi-2
pushed a commit
that referenced
this pull request
Mar 2, 2026
…nses Fix MultiRepoAgent JSON parsing failures from Markdown-wrapped LLM responses
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
New Files
src/brain/core-brain.ts- Core Brain API clientChanged Files
src/brain/index.ts- Export core-brain functionssrc/chat/manager.ts- Add Pre-Recall + Writeback to chat flowFeatures
coreBrainSearch()- Search central knowledge basecoreBrainStore()- Store memories (append-only)coreBrainRecent()- Get recent memoriesbuildCoreBrainContext()- Build context string for prompt injectionArchitecture
Test plan
🤖 Generated with Claude Code